#!/bin/bash

echo "开始更新程序"

cd /data/git_code/xian_bankcard/CardIdentification


echo "从git上面拉取代码"
git pull

echo "同步到腾讯云api服务器"
rsync -avz /data/git_code/xian_bankcard/CardIdentification/* --exclude '.git' --exclude '.gitignore' rsync://nginx@47.93.98.173/www/CardIdentification


echo "更新完毕！！！"
